<div class="navi">
    <ul class="nav">
        <li class="line dk height2" ng-if="jfry_external_order"></li>

        <!--<li ng-class="{active:$state.includes('app.external')}" class="ng-scope" ng-if="jfry_external_order">
            <a href class="auto">
                <span class="pull-right text-muted">
                <i class="fa fa-fw fa-angle-right text"></i>
                <i class="fa fa-fw fa-angle-down text-active"></i>
            </span>
                <b class="badge bg-info pull-right">3</b>
                <i class="fa fa-file-text"></i>
                <span>外接订单</span>
            </a>
            <ul class="nav nav-sub dk" id="jfry_circumscribed">
                <li class="nav-sub-header">
                    <a href>
                        <span>外接订单</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_external_inquiry" id="jfry_external_inquiry">
                    <a ui-sref="app.external.external_inquiry">
                        <span>外接询价</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_external_delivery" id="jfry_external_delivery">
                    <a ui-sref="app.external.external_order">
                        <span>外接发货</span>
                    </a>
                </li>

            </ul>
        </li>-->
        <li class="line dk height2" ng-if="jfry_client"></li>
        <li ng-class="{active:$state.includes('app.client')}" ng-if="jfry_client" class="ng-scope" id="jfry_client" ui-sref-active="active" ui-sref="app.client.client_Managent">
            <a href class="auto">
                <span class="pull-right text-muted">
                  
                </span>
                <i class="glyphicon glyphicon-user"></i>
                <span>客户</span>
            </a>
            <ul class="nav nav-sub dk" ng-if="jfry_client_manage">

                <li class="nav-sub-header" id="jfry_client_manage">
                    <a ng-if="jfry_client_manage">
                        <span>客户</span>
                    </a>
                </li>
            </ul>
        </li>
        <li class="line dk height2" ng-if="jfry_inquiry"></li>
        <li ng-class="{active:$state.includes('app.inquiry')}" ng-if="jfry_inquiry" class="ng-scope" id="jfry_inquiryManage">
            <a href class="auto" ng-if="jfry_inquiry">
                <span class="pull-right text-muted">
                <i class="fa fa-fw fa-angle-right text"></i>
                <i class="fa fa-fw fa-angle-down text-active"></i>
            </span>
                <i class="glyphicon glyphicon-usd"></i>
                <span>询价</span>
            </a>
            <ul class="nav nav-sub dk">
                <li class="nav-sub-header" ng-if="jfry_inquiry" id="jfry_inquiry">
                    <a href>
                        <span>询价</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_inquiry_cspinquiry" id="jfry_inquiry_cspinquiry">
                    <a ui-sref="app.inquiry.external_inquiry">
                        <b class="badge bg-info pull-right">{{refOrder22}}</b>
                        <span>外接询价单</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_inquiry_add" id="jfry_inquiry_add">
                    <a ui-sref="app.inquiry.inquiryList">
                        <b class="badge bg-info pull-right">{{refInquiry1}}</b>
                        <span>询价单新增</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_inquiry_accept" id="jfry_inquiry_accept">
                    <a ui-sref="app.inquiry.InquiryAccept">
                        <b class="badge bg-info pull-right">{{refInquiry0}}</b>
                        <span>询价单受理</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_inquiry_receivable" id="jfry_inquiry_receivable">
                    <a ui-sref="app.inquiry.Inquiry_receivable">
                        <b class="badge bg-info pull-right">{{refInquiry2}}</b>
                        <span>询价单应收报价</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_inquiry_audit" id="jfry_inquiry_audit">
                    <a ui-sref="app.inquiry.inquiryAudit">
                        <b class="badge bg-success pull-right">{{refInquiry4}}</b>
                        <span>询价单审核</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_inquiry_manage" id="jfry_inquiry_manage">
                    <a ui-sref="app.inquiry.inquiryManagent">
                        <!--<b class="badge bg-primary pull-right">16</b>-->
                        <span>询价单管理</span>
                    </a>
                </li>

            </ul>
        </li>
        <li class="dk height2" ng-if="jfry_order"></li>

        <li ng-class="{active:$state.includes('app.order')}" ng-if="jfry_order" class="ng-scope" id="jfry_order">
            <a href class="auto" ng-if="jfry_order">
                <span class="pull-right text-muted">
                <i class="fa fa-fw fa-angle-right text"></i>
                <i class="fa fa-fw fa-angle-down text-active"></i>
                </span>
                <i class="fa fa-clipboard icon"></i>
                <span>发货</span>
            </a>
            <ul class="nav nav-sub dk">
                <li class="nav-sub-header">
                    <a href>
                        <span>发货</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_order_csporder" id="jfry_order_csporder">
                    <a ui-sref="app.order.external_order">
                        <b class="badge bg-info pull-right">{{refOrder21}}</b>
                        <span>外接发货单</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_order_add" id="jfry_order_add">
                    <a ui-sref="app.order.orderAddList">
                        <b class="badge bg-info pull-right">{{refOrder12}}</b>
                        <span>发货单新增</span>
                    </a>
                </li>

                <li ui-sref-active="active" ng-if="jfry_order_accept" id="jfry_order_accept">
                    <a ui-sref="app.order.orderAcceptList">
                        <b class="badge bg-primary pull-right">{{refOrder11}}</b>
                        <span>发货单受理</span>
                    </a>
                </li>
                <!--<li ui-sref-active="active" ng-if="jfry_order_audit">-->
                <li ui-sref-active="active" ng-if="jfry_order_audit" id="jfry_order_audit">
                    <a ui-sref="app.order.orderAuditController">
                        <b class="badge bg-primary pull-right">{{refOrder13}}</b>
                        <span>发货单审核</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_order_register" id="jfry_order_register">
                    <a ui-sref="app.order.orderRegisterList">
                        <b class="badge bg-primary pull-right">{{refOrder15}}</b>
                        <span>发货单登记</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_order_manage" id="jfry_order_manage">
                    <a ui-sref="app.order.orderDeliverManage">
                        <span>发货单管理</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_order_admin" id="jfry_order_admin">
                    <a ui-sref="app.order.orderManagentController">
                        <span>订单管理</span>
                    </a>
                </li>
            </ul>
        </li>



        <li ng-class="{active:$state.includes('app.chart')}" ng-if="jfry_cars" class="ng-scope" class="ng-scope" id="jfry_cars">
            <a href class="auto">
                <i class="fa fa-truck"></i>
                <span>车场</span>
                <span class="pull-right text-muted">
                <i class="fa fa-fw fa-angle-right text"></i>
                <i class="fa fa-fw fa-angle-down text-active"></i>
            </span>
            </a>
            <ul class="nav nav-sub dk">
                <li class="nav-sub-header">
                    <a href>
                        <span>车场</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_cars_manage" id="jfry_cars_manage">
                    <a ui-sref="app.car.carManagent">
                        <span>车辆管理</span>
                    </a>
                </li>
                <li ui-sref-active="active" ng-if="jfry_carrier_manage" id="jfry_carrier_manage">
                    <a ui-sref="app.carrier.carrierManagent">
                        <span>承运商管理</span>
                    </a>
                </li>
            </ul>
            <li class="line dk hidden-folded height2" ng-if="jfry_fee"></li>
            <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                <span></span>
            </li>
            <li ng-class="{active:$state.includes('app.fee')}" ng-if="jfry_fee" class="ng-scope" id="jfry_fee">
                <a href class="auto">
                    <span class="pull-right text-muted">
                <i class="fa fa-fw fa-angle-right text"></i>
                <i class="fa fa-fw fa-angle-down text-active"></i>
            </span>
                    <i class="fa fa-sign-out icon "></i>
                    <span>财务（应付）</span>
                </a>
                <ul class="nav nav-sub dk">
                    <li class="nav-sub-header">
                        <a href>
                            <span>财务（应付）</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_receipt_admin" id="jfry_receipt_admin">
                        <a ui-sref="app.fee.receiptManagentList">
                            <span>回单管理</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_fee_audit" id="jfry_fee_audit">
                        <a ui-sref="app.fee.feeAuditList">
                            <span>应付审核</span>
                        </a>
                    </li>

                    <li ui-sref-active="active" ng-if="jfry_cost_recoverable" id="jfry_cost_recoverable">
                        <a ui-sref="app.fee.feeCheckList">
                            <span>费用对账</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_settle_admin" id="jfry_settle_admin">
                        <a ui-sref="app.fee.feeSettle_admin">
                            <span>结算单管理</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_payment_admin" id="jfry_payment_admin">
                        <a ui-sref="app.fee.feeSettlePayManage">
                            <span>付款管理</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_payable_admin" id="jfry_payable_admin">
                        <a ui-sref="app.fee.feeManagent">
                            <span>应付管理</span>
                        </a>
                    </li>
                </ul>
            </li>

            <li ng-class="{active:$state.includes('app.receivable')}" ng-if="jfry_receivable" class="ng-scope" id="jfry_receivable">
                <a href class="auto">
                    <span class="pull-right text-muted">
                <i class="fa fa-fw fa-angle-right text"></i>
                <i class="fa fa-fw fa-angle-down text-active"></i>
            </span>
                    <i class="fa fa-sign-in icon "></i>
                    <span>财务（应收）</span>
                </a>
                <ul class="nav nav-sub dk">
                    <li class="nav-sub-header">
                        <a href>
                            <span>财务（应收）</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_receivable_settle" id="jfry_receivable_settle">
                        <a ui-sref="app.receivable.receivableClose">
                            <span>应收结算</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_receivable_bill" id="jfry_receivable_bill">
                        <a ui-sref="app.receivable.receivableBill">
                            <span>应收账单管理</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_receivable_admin" id="jfry_receivable_admin">
                        <a ui-sref="app.receivable.receivableManagentList">
                            <span>应收管理</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_receivable_census" id="jfry_receivable_census">
                        <a ui-sref="app.receivable.receivable_census">
                            <span>应收统计</span>
                        </a>
                    </li>
                    <!--  ng-if="jfry_receivable_accountreturnanalysis" -->
                    <li ui-sref-active="active" id="jfry_receivable_reconciliation" ng-if="jfry_receivable_accountreturnanalysis"> 
                        <a ui-sref="app.receivable.receivable_reconciliation">
                            <span>对账回款统计</span>
                        </a>
                    </li>
                </ul>


                <!--<li ng-class="{active:$state.includes('app.excel')}" ng-if="jfry_excel" class="ng-scope">
                <a href class="auto">
                    <span class="pull-right text-muted">
                <i class="fa fa-fw fa-angle-right text"></i>
                <i class="fa fa-fw fa-angle-down text-active"></i>
            </span>
               <i class="fa fa-bar-chart-o icon "></i>
                    <span>报表</span>
        </a>
                <ul class="nav nav-sub dk">
                    <li class="nav-sub-header">
                        <a href ui-sref="app.blank">
                            <span></span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_fee_excel">
                        <a ui-sref="app.blank">
                            <span>财务（应付）</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_receivable_excel">
                        <a ui-sref="app.blank">
                            <span>财务（应收）</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_profit_excel">
                        <a ui-sref="app.blank">
                            <span>财务（利润）</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_custom_excel">
                        <a ui-sref="app.blank">
                            <span>定制报表</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_capacity_excel">
                        <a ui-sref="app.blank">
                            <span>运力</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_business_excel">
                        <a ui-sref="app.blank">
                            <span>业务流</span>
                        </a>
                    </li>
                    <li ui-sref-active="active" ng-if="jfry_dispatch_profit">
                        <a ui-sref="app.blank">
                            <span>调度利润率</span>
                        </a>
                    </li>
                </ul>
            </li>-->

                <li class="line dk hidden-folded height2" ng-if="jfry_set_up"></li>

                <li ng-class="{active:$state.includes('app.system')}" ng-if="jfry_set_up" class="ng-scope" id="jfry_set_up">
                    <a href class="auto">
                        <span class="pull-right text-muted">
                            <i class="fa fa-fw fa-angle-right text"></i>
                            <i class="fa fa-fw fa-angle-down text-active"></i>
                        </span>
                        <i class="fa fa-gears"></i>
                        <span>设置</span>
                    </a>
                    <ul class="nav nav-sub dk">
                        <li class="nav-sub-header">
                            <a href>
                                <span>设置</span>
                            </a>
                        </li>
                     
                        <li ui-sref-active="active" ng-if="jfry_authorization_manage" id="jfry_authorization">

                            <a ui-sref="app.system.visualauthorizationManagent">
                                <span>系统权限管理</span>
                            </a>
                        </li>
                        <li ui-sref-active="active" ng-if="jfry_department_manage" id="jfry_department_manage">
                            <a ui-sref="app.system.departmentManagent">
                                <span>部门管理</span>
                            </a>
                        </li>
                        <li ui-sref-active="active" ng-if="jfry_employee_manage" id="jfry_employee_manage">
                            <a ui-sref="app.system.employeeManagent">
                                <span>员工管理</span>
                            </a>
                        </li>
                        <li ui-sref-active="active" ng-if="jfry_usergroup_manage" id="jfry_usergroup_manage">
                            <a ui-sref="app.system.userGroupManagent">
                                <span>用户组管理</span>
                            </a>
                        </li>
                        <li ui-sref-active="active" ng-if="jfry_user_manage" id="jfry_user_manage">
                            <a ui-sref="app.system.userManagent">
                                <span>用户管理</span>
                            </a>
                        </li>

                        <li ui-sref-active="active" ng-if="jfry_logistics_manage" id="jfry_logistics_manage">
                            <a ui-sref="app.system.logisticsManagent">
                                <span>物流方管理</span>
                            </a>
                        </li>
                        <li ui-sref-active="active" ng-if="jfry_logistics_userinfo_edit" id="jfry_logistics_userinfo_edit" ng-click="isSclick()">
                            <a ui-sref="app.system.userinfo_edit">
                                <span>个人信息管理</span>
                            </a>
                        </li>
                    </ul>
                </li>

                <li class="dk hidden-folded height2" ng-if="jfry_report"></li>
                <li ng-class="{active:$state.includes('app.excel')}" ng-if="jfry_report" class="ng-scope" id="jfry_report" ui-sref-active="active" >
                    <a href class="auto">
                        <span class="pull-right text-muted">
                            <i class="fa fa-fw fa-angle-right text"></i>
                            <i class="fa fa-fw fa-angle-down text-active"></i>
                        </span>
                        <i class="fa fa-bar-chart-o"></i>
                        <span>报表</span>
                    </a>
                    <ul class="nav nav-sub dk">
                           
                        <li class="nav-sub-header">
                            <a href>
                                <span>报表</span>
                            </a>
                        </li>
                        <!--<li ui-sref-active="active" ng-if="jfry_authorization_type">
                            <a ui-sref="app.page.custom_excel">
                                <span>定制报表</span>
                            </a>
                        </li>-->
                        <li ui-sref-active="active" ng-if="jfry_report_export" id="jfry_report_export" >
                            <a ui-sref="app.excel.excel_export">
                                <span>报表导出</span>
                            </a>
                        </li>

                        <li ui-sref-active="active" ng-if="jfry_report_workreport" id="jfry_report_workreport">
                            
                            <a ui-sref="app.excel.work_excel_export">
                                <span>工作报表导出</span>
                            </a>
                        </li>
                    </ul>
                </li>

                <li class="dk hidden-folded height2"></li>

                <li ng-class="{active:$state.includes('app.eva')}" class="ng-scope" ng-if="jfry_Evaluate" id="jfry_evaluate" ui-sref-active="active">
                    <a href class="auto">
                        <span class="pull-right text-muted">
                            <i class="fa fa-fw fa-angle-right text"></i>
                            <i class="fa fa-fw fa-angle-down text-active"></i>
                        </span>
                        <i class="fa fa-edit"></i>
                        <span>评价</span>
                        <!-- <b class="badge bg-danger pull-right">{{evaluat}}</b> -->
                    </a>
                    <ul class="nav nav-sub dk">

                        <li ui-sref-active="active" ng-if="jfry_Evaluate_manage" id="jfry_evaluate_evaluateManage">
                            <a ui-sref="app.eva.evaluate_manage">
                                <b class="badge bg-danger pull-right">{{evaluat}}</b>
                                <span>评价</span>
                            </a>
                        </li>

                        <li ui-sref-active="active" ng-if="jfry_ReverseEvaluate_manage" id="jfry_evaluate_reverseManage" >
                            <a ui-sref="app.eva.evaluate_reverseManage">
                                <span>反向评价</span>
                            </a>
                        </li>

                    </ul>
                </li>
                <li class="dk hidden-folded height2"></li>

                <li ng-class="{active:$state.includes('app.opera')}" ng-if="jfry_operation" class="ng-scope" id="jfry_operation" ui-sref-active="active">
                    <a href class="auto">
                        <span class="pull-right text-muted">
                            <i class="fa fa-fw fa-angle-right text"></i>
                            <i class="fa fa-fw fa-angle-down text-active"></i>
                        </span>
                        <i class="fa fa-retweet"></i>
                        <span>运维</span>
                    </a>
                    <ul class="nav nav-sub dk">

                        <li class="nav-sub-header">
                            <a>
                                <span>运维</span>
                            </a>
                        </li>
                        <li ui-sref-active="active" ng-if="jfry_operation_list" id="jfry_operation_list">
                            <a ui-sref="app.opera.operation_manage">
                                <span>运维</span>
                            </a>
                        </li>
                        <li ui-sref-active="active" ng-if="jfry_operation_list" id="jfry_operation_EContractList">
                            <a ui-sref="app.opera.operation_EContractList">
                                <span>合同管理</span>
                            </a>
                        </li>
                        <li ui-sref-active="active" ng-if="jfry_opinion__manage" id="jfry_operation_feedback">
                            <a ui-sref="app.opera.opinion_feedback">
                                <span>意见反馈</span>
                            </a>
                        </li>
                        <li ui-sref-active="active" ng-if="jfry_opinion__log" id="jfry_operation_systemLog">
                            <a ui-sref="app.opera.opinion_systemLog">
                                <span>系统日志</span>
                            </a>
                        </li>
                    </ul>
                </li>

                <li class="dk hidden-folded height2"></li>

                <li ng-class="{active:$state.includes('app.mes')}" class="ng-scope" id="jfry_message" ui-sref-active="active" id="jfry_message_messageList" ui-sref="app.mes.messageList">
                    <a href class="auto">
                        <span class="pull-right text-muted">
                            <!--<i class="fa fa-fw fa-angle-right text"></i>
                            <i class="fa fa-fw fa-angle-down text-active"></i>-->
                        </span>
                        <i class="fa fa-comment"></i>
                        <span>消息</span>

                        <b class="badge bg-danger pull-right">{{messageTotal}}</b>
                    </a>
                    <ul class="nav nav-sub dk">

                        <li class="nav-sub-header">
                            <a>
                                <span>消息</span>
                            </a>
                        </li>
                    </ul>
                </li>

                <li ng-class="{active:$state.includes('app.BDNP')}" ng-if="jfry_location_list" id="jfry_location_list" ui-sref-active="active" id="jfry_location_BDNPExport" ui-sref="app.BDNP.BDNPExport">
                    <a href class="auto">
                        <span class="pull-right text-muted">
                            <!--<i class="fa fa-fw fa-angle-right text"></i>
                            <i class="fa fa-fw fa-angle-down text-active"></i>-->
                        </span>
                        <i class="fa fa-location-arrow"></i>
                        <span>北斗报表</span>
                    </a>
                    <ul class="nav nav-sub dk">
                        <li class="nav-sub-header">
                            <a>
                                <span>北斗报表</span>
                            </a>
                        </li>
                    </ul>
                </li>
    </ul>
</div>